package com.sq.partner.manager.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sq.partner.manager.dao.IGatewayCustomerDao;
import com.sq.partner.manager.mybatis.model.GatewayCustomer;
import com.sq.partner.manager.mybatis.model.ScanCustomer;
import com.sq.partner.manager.service.IGatewayCustomerService;
@Service
public class GatewayCustomerServiceImpl implements IGatewayCustomerService {

	@Resource
	private IGatewayCustomerDao customerDao;

	@Override
	public GatewayCustomer queryTBRInfoByTbrId(String polNo) throws Exception {
		return customerDao.queryTBRInfoByTbrId(polNo);
	}

	@Override
	public GatewayCustomer queryBBRInfoForSingelByPolicyId(String polNo) throws Exception {
		return customerDao.queryBBRInfoForSingelByPolicyId(polNo);
	}

	@Override
	public List<GatewayCustomer> querySYRInfoByBBRCustomerId(String polNo) throws Exception {
		return customerDao.querySYRInfoByBBRCustomerId(polNo);
	}
	@Override
	public ScanCustomer queryScanTBRInfoByAppNo(String appNo) throws Exception {
		return customerDao.queryScanTBRInfoByAppNo(appNo);
	}
	
	@Override
	public ScanCustomer queryScanBBRInfoByAppNo(String appNo) throws Exception {
		return customerDao.queryScanBBRInfoByAppNo(appNo);
	}
	
	@Override
	public ScanCustomer queryScanSYRInfoByAppNo(String appNo) throws Exception {
		return customerDao.queryScanSYRInfoByAppNo(appNo);
	}
	 
}
